﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UCHoiDap.ascx.cs" Inherits="Controls_UCHoiDap" %>
<%@ Register Src="~/Controls/UCQuestion.ascx" TagName="UCQuestion" TagPrefix="uc" %>
<div class="faqs_archi">
                <div class="faqs_archi_title">
                    <h4>
                        hỏi đáp cùng kiến trúc sư</h4>
                    <div class="send_faqs">
                        <p>
                            gửi câu hỏi</p>
                        <a title="gửi câu hỏi" href="#guicauhoi" class="btnguicauhoi">
                            <img src="<%= Page.ResolveUrl("~/images/icon_send_faqs.png") %>" alt="gửi câu hỏi" /></a>
                    </div>
                </div>
                <div class="faqs_archi_content">
                    <div class="faqs_archi_content_tab">
                        <asp:Repeater ID="rptHoiDap" runat="server">
                            <ItemTemplate>
                                <div class="faqs_archi_c_title">
                                    <h5 id='faqs_archi_event_click<%# Eval("CateID") %>'>
                                        <span class="faqs_archi_c_title_img">
                                            <img src='<%# Page.ResolveUrl("~/userupload/"+Eval("ImageUrl")) %>' height="42" width="42"
                                                alt="" /></span> <span class="faqs_archi_c_title_text">
                                                    <%# Eval("Title") %></span></h5>
                                </div>
                            </ItemTemplate>
                        </asp:Repeater>
                    </div>
                    <div class="faqs_archi_c_stage">
                        <asp:Repeater ID="rptHoiDapList" runat="server" OnItemDataBound="rptHoiDap_OnItemDataBound">
                            <ItemTemplate>
                                <div class="faqs_archi_c_stage_box faqs_archi_event_click<%# Eval("CateID") %>">
                                    <asp:Repeater ID="rptChild" runat="server" OnItemDataBound="rptChild_OnItemDataBound">
                                        <ItemTemplate>
                                            <div class="faqs_archi_c_stage_item">
                                                <h6>
                                                    <%# Eval("Title") %><span style="color:#cccccc; font-size:10px;"> - <%# Eval("AddedDate","{0:dd/MM/yyyy H:mm:ss}") %></span><asp:Image ID="Image1" runat="server" /></h6>
                                                <ul>
                                                    <li class="faqs_archi_stage_item_img">
                                                        <img src='<%# Page.ResolveUrl("~/userupload/articles/82x76-"+Eval("ImageUrl")) %>'
                                                            height="76" width="82" alt='<%# Eval("Title") %>' />
                                                    </li>
                                                    <li class="faqs_archi_stage_item_cont">
                                                        <%# Eval("Abstract") %>
                                                        <a href='<%# Page.ResolveUrl(Eval("SEOurl").ToString()) %>' title="Xem chi tiết bài viết">
                                                            Xem tiếp...</a> </li>
                                                </ul>
                                            </div>
                                        </ItemTemplate>
                                    </asp:Repeater>
                                </div>
                            </ItemTemplate>
                        </asp:Repeater>
                        <div class="hoidapcontainer" id="GuiCauHoi" style="width: 100%; height: 414px; top: 0;
                            left: 0; position: absolute; z-index: 99; background-color: #fff; display: none;">
                            <uc:UCQuestion runat="server" ID="quest"/>
                        </div>
                    </div>
                </div>
            </div>